<?php
	require_once('libraryfiles/config.php');
	require_once TMP_USER_PATH;
?>

<div class="span12 category">
        <div id="content">
            <div class="title">
                <h1 class="category-title">
                	<?php
                		if(isset($_GET["view"])){
                			if($_GET["view"]=="last_premium"){
                				echo "Popular Ads";
                			}else{
                				echo "Latest";
                			}

                		}
                	?>
                </h1>
            </div>
            <div class="product-filter box-content">
            	<div class="product-grid">
            	<?php
					if(isset($_GET["view"])){
                			if($_GET["view"]=="last_premium"){
                				include_once 'more_latest_premium.php';
                			}else{
                				include_once 'more_latest_free.php';
                			}

                		}


            	?>
            	</div>
            </div>

       </div>
</div>
